import numpy as np
import pandas as pd

data={"语文":[67,78,89],"数学":[90,95,67]}
i={"a","b","c"}
obj1=pd.DataFrame(data=data,index=i)
print(obj1)
print("bj1.iloc(0)\n",obj1.iloc[2])
print("bj1.loc(0)\n",obj1.loc["c"])
arr53=np.ones((5,3))


# arr1=np.array([1,2,3,4])
# print("arr1\n",arr1)
# print(id(arr1))
# arr3=np.array([1,2,3,4,5])
# print(id(arr3))
#
# arr1=arr3
# print("arr1=arr3\n",arr1)
# print(id(arr1))
#
# print(np.ones((3,4)))
# print(np.zeros((3,4)))
# print(np.empty((3,4)))
# print(np.full((3,4),5))